package com.cy.pj.sys.dao;

import com.cy.pj.sys.vo.SysUserDeptVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author LiuXu
 * @create 2020-07-24 20:08
 */
@Mapper
@Repository
public interface SysUserDao {
    int getRowCount(String username);

    List<SysUserDeptVo> findPageObjects(
            String username,
            Integer startIndex,
            Integer pageSize
    );
}
